rm -rf build
MYDIR=$(dirname "$(readlink -f "$0")")
echo $MYDIR
cmake -Bbuild -H. \
      -DPAHO_ENABLE_TESTING=OFF \
      -DPAHO_BUILD_STATIC=ON -DPAHO_WITH_SSL=OFF -DPAHO_HIGH_PERFORMANCE=ON \
      -DCMAKE_INSTALL_PREFIX=$MYDIR/build
cmake --build $MYDIR/build --verbose --target install
